import request from '@/utils/request'

// 列表
export function MakingList(params) {
   return request({
    url: '/mes/fb/making/list',
    method: 'get',
    params
  })
}

// 添加
export function addMaking(data) {
  return request({
    url: '/mes/fb/making',
    method: 'post',
    data: data
  })
}
// 详请
export function editMaking(recordId) {
   return request({
     url: '/mes/fb/making/'+recordId,
    method:'get',
  })
}
// 删除
export function MakiDelete(recordId) {
  return request({
    url: '/mes/fb/making/'+recordId,
    method:'delete',
  })
}

// 编辑
export function EditMaking(data) {
  return request({
    url: '/mes/fb/making',
    method: 'put',
    data: data
  })
}